package com.study.mapper;

import com.study.model.Logs;
import com.study.model.logPOi;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author king james
 * @create 2021-09-03-{TIME}
 */
@Mapper
public interface LogMapper {


    //查询所有日志信息
    List<Logs> queryAllLogInfo(@Param("logs") Logs logs);

    //新增日志信息
    int addLog(@Param("logs") Logs logs);

    //删除日志
    int deleteLog(@Param("ids") int[] ids);

    //导出日志信息
    List<logPOi> exportLog();
}
